package symbolClass;

import checkClass.TypeExpression;

public class TypeDeclaNode {
    private String typeName;
    private TypeExpression typeExpression;
    //记录的大小
    private int size;
    private int arrayDepth;


    public TypeDeclaNode(String typeName, TypeExpression typeExpression,int arrayDepth,int size) {
        this.typeName = typeName;
        this.typeExpression = typeExpression;
        this.arrayDepth=arrayDepth;
        this.size=size;
    }

    public int getSize() {
        return size;
    }

    public String getTypeName() {
        return typeName;
    }

    public TypeExpression getTypeExpression() {
        return typeExpression;
    }
}
